object fmBillTrace: TfmBillTrace
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #19994#21153#36319#36827
  ClientHeight = 553
  ClientWidth = 794
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object dxLayoutControl1: TdxLayoutControl
    Left = 0
    Top = 0
    Width = 794
    Height = 515
    Align = alTop
    TabOrder = 0
    object btnAttach: TcxButton
      Left = 718
      Top = 234
      Width = 70
      Height = 21
      Caption = #28155#21152#38468#20214
      TabOrder = 3
      OnClick = btnAttachClick
      LookAndFeel.Kind = lfOffice11
    end
    object pnlGrid: TPanel
      Left = 6
      Top = 316
      Width = 782
      Height = 185
      BevelOuter = bvNone
      Color = clWindow
      ParentBackground = False
      TabOrder = 6
      object Panel1: TPanel
        Left = 704
        Top = 0
        Width = 78
        Height = 185
        Align = alRight
        BevelOuter = bvNone
        TabOrder = 0
        ExplicitHeight = 108
        object btnAdd: TcxButton
          Left = 7
          Top = 2
          Width = 70
          Height = 21
          Caption = #22686#21152#21333#25454
          TabOrder = 0
          OnClick = btnAddClick
          LookAndFeel.Kind = lfOffice11
        end
        object btnDelete: TcxButton
          Left = 7
          Top = 25
          Width = 70
          Height = 21
          Caption = #21024#38500#21333#25454
          TabOrder = 1
          OnClick = btnDeleteClick
          LookAndFeel.Kind = lfOffice11
        end
        object btnAddBill: TcxButton
          Left = 6
          Top = 162
          Width = 70
          Height = 21
          Caption = #26032#22686#23458#25143
          TabOrder = 2
          Visible = False
          OnClick = btnAddClick
          LookAndFeel.Kind = lfOffice11
        end
      end
      object grdTrace: TcxGrid
        Left = 0
        Top = 0
        Width = 704
        Height = 185
        Align = alClient
        TabOrder = 1
        LookAndFeel.Kind = lfOffice11
        RootLevelOptions.DetailTabsPosition = dtpTop
        ExplicitLeft = 238
        ExplicitTop = 34
        ExplicitWidth = 250
        ExplicitHeight = 200
        object tvCustomer: TcxGridTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvCustomerColumn1: TcxGridColumn
            Caption = #23458#25143#21517#31216
            Options.Editing = False
            Width = 120
          end
          object tvCustomerColumn2: TcxGridColumn
            Caption = #23458#25143#32852#31995#20154
            Width = 120
          end
          object tvCustomerColumn4: TcxGridColumn
            Caption = #32852#31995#31867#22411
            Width = 120
          end
          object tvCustomerColumn3: TcxGridColumn
            Caption = #32852#31995#20027#39064
            Width = 120
          end
          object tvCustomerId: TcxGridColumn
            Caption = 'ID'
            Visible = False
            Width = 120
          end
        end
        object tvProject: TcxGridTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvProjectColumn1: TcxGridColumn
            Caption = #39033#30446#21495
            Options.Editing = False
            Width = 160
          end
          object tvProjectID: TcxGridColumn
            Caption = 'ID'
            Visible = False
            Options.Editing = False
            Width = 160
          end
        end
        object tvFactory: TcxGridTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvFactoryColumn1: TcxGridColumn
            Caption = #20379#24212#21830#21517#31216
            Options.Editing = False
            Width = 120
          end
          object tvFactoryColumn2: TcxGridColumn
            Caption = #32852#31995#20154
            Width = 120
          end
          object tvFactoryColumn3: TcxGridColumn
            Caption = #32852#31995#31867#22411
            Width = 120
          end
          object tvFactoryColumn4: TcxGridColumn
            Caption = #32852#31995#20027#39064
            Width = 120
          end
          object tvFactoryID: TcxGridColumn
            Visible = False
          end
        end
        object tvPi: TcxGridTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvPiColumn1: TcxGridColumn
            Caption = #35746#21333#21333#21495
            Options.Editing = False
            Width = 160
          end
          object tvPiColumn2: TcxGridColumn
            Caption = #23458#25143
            Visible = False
            Options.Editing = False
            Width = 160
          end
          object tvPiColumn3: TcxGridColumn
            Caption = #35746#21333#25688#35201
            Visible = False
            Options.Editing = False
            Width = 200
          end
          object tvPiID: TcxGridColumn
            Caption = 'ID'
            Visible = False
            Width = 160
          end
        end
        object tvStock: TcxGridTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvStockColumn1: TcxGridColumn
            Caption = #37319#36141#21333#21495
            Options.Editing = False
            Width = 160
          end
          object tvStockColumn2: TcxGridColumn
            Caption = #20379#24212#21830#21517#31216
            Visible = False
            Options.Editing = False
            Width = 160
          end
          object tvStockColumn3: TcxGridColumn
            Caption = #37319#36141#21333#25688#35201
            Visible = False
            Options.Editing = False
            Width = 200
          end
          object tvStockID: TcxGridColumn
            Caption = 'ID'
            Visible = False
          end
        end
        object lvProject: TcxGridLevel
          Caption = #39033#30446
          GridView = tvProject
        end
        object lvCustomer: TcxGridLevel
          Caption = #23458#25143
          GridView = tvCustomer
        end
        object lvFactory: TcxGridLevel
          Caption = #20379#24212#21830
          GridView = tvFactory
        end
        object lvPi: TcxGridLevel
          Caption = #35746#21333
          GridView = tvPi
        end
        object lvStock: TcxGridLevel
          Caption = #37319#36141#21333
          GridView = tvStock
        end
      end
    end
    object edtContent: TRzMemo
      Left = 59
      Top = 28
      Width = 729
      Height = 140
      TabOrder = 0
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object edtRemark: TRzMemo
      Left = 59
      Top = 171
      Width = 729
      Height = 60
      TabOrder = 1
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object edtAttachs: TRzEdit
      Left = 59
      Top = 234
      Width = 121
      Height = 21
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ReadOnly = True
      TabOrder = 2
    end
    object edtStaff: TRzEdit
      Left = 427
      Top = 258
      Width = 121
      Height = 21
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ReadOnly = True
      TabOrder = 5
    end
    object edtDate: TRzDateTimeEdit
      Left = 59
      Top = 258
      Width = 324
      Height = 21
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
    end
    object dxLayoutGroup1: TdxLayoutGroup
      AlignHorz = ahClient
      AlignVert = avTop
      LayoutLookAndFeel = dmImages.lfMain
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = -1
    end
    object lcgMain: TdxLayoutGroup
      AlignHorz = ahClient
      AlignVert = avClient
      CaptionOptions.Text = #19994#21153#36319#36827#35760#24405
      LayoutLookAndFeel = dmImages.lfBaseInfoGroups
      Parent = dxLayoutControl1Group4
      ButtonOptions.Buttons = <>
      ItemIndex = 2
      Index = 0
    end
    object dxLayoutControl1Group2: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgMain
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 2
    end
    object dxLayoutControl1Item9: TdxLayoutItem
      Parent = dxLayoutControl1Group2
      Control = btnAttach
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object dxLayoutControl1Group1: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgMain
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 3
    end
    object dxLayoutControl1Group3: TdxLayoutGroup
      CaptionOptions.Text = #20851#32852#21333#25454
      LayoutLookAndFeel = dmImages.lfBaseInfoGroups
      Parent = dxLayoutControl1Group4
      ButtonOptions.Buttons = <>
      Index = 1
    end
    object dxLayoutControl1Group4: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'Hidden Group'
      Parent = dxLayoutGroup1
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 0
    end
    object dxLayoutControl1Item1: TdxLayoutItem
      CaptionOptions.Text = 'Panel1'
      CaptionOptions.Visible = False
      Parent = dxLayoutControl1Group3
      Control = pnlGrid
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object dxLayoutControl1Item3: TdxLayoutItem
      CaptionOptions.Text = #20869#23481
      Parent = lcgMain
      Control = edtContent
      Index = 0
    end
    object dxLayoutControl1Item4: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgMain
      Control = edtRemark
      Index = 1
    end
    object dxLayoutControl1Item5: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #38468#20214
      Parent = dxLayoutControl1Group2
      Control = edtAttachs
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object dxLayoutControl1Item6: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #25805#20316#20154
      Parent = dxLayoutControl1Group1
      Control = edtStaff
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object dxLayoutControl1Item7: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #36319#36394#26085#26399
      Parent = dxLayoutControl1Group1
      Control = edtDate
      Index = 0
    end
  end
  object btnCancel: TcxButton
    Left = 718
    Top = 524
    Width = 70
    Height = 21
    Caption = #21462#28040
    ModalResult = 2
    TabOrder = 1
    LookAndFeel.Kind = lfOffice11
  end
  object btnOk: TcxButton
    Left = 642
    Top = 524
    Width = 70
    Height = 21
    Caption = #30830#23450
    TabOrder = 2
    OnClick = btnOkClick
    LookAndFeel.Kind = lfOffice11
  end
  object rdaBrowser: TDARemoteDataAdapter
    GetSchemaCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.RemoteService = ClientDataModule.RemoteService
    GetDataCall.MethodName = 'SQLGetData'
    GetDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'aSQLText'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aIncludeSchema'
        DataType = rtBoolean
        Flag = fIn
        Value = Null
      end
      item
        Name = 'aMaxRecords'
        DataType = rtInteger
        Flag = fIn
        Value = Null
      end>
    GetDataCall.Default = False
    GetDataCall.OutgoingTableNamesParameter = 'aTableNameArray'
    GetDataCall.OutgoingTableRequestInfosParameter = 'aTableRequestInfoArray'
    GetDataCall.IncomingDataParameter = 'Result'
    GetDataCall.OutgoingIncludeSchemaParameter = 'aIncludeSchema'
    GetDataCall.OutgoingMaxRecordsParameter = 'aMaxRecords'
    UpdateDataCall.RemoteService = ClientDataModule.RemoteService
    UpdateDataCall.MethodName = 'UpdateBaseTable'
    UpdateDataCall.Params = <
      item
        Name = 'Result'
        DataType = rtBinary
        Flag = fResult
        Value = Null
      end
      item
        Name = 'ATablename'
        DataType = rtString
        Flag = fIn
        Value = Null
      end
      item
        Name = 'Delta'
        DataType = rtBinary
        Flag = fIn
        Value = Null
      end>
    UpdateDataCall.Default = False
    UpdateDataCall.OutgoingDeltaParameter = 'Delta'
    UpdateDataCall.IncomingDeltaParameter = 'Result'
    GetScriptsCall.RemoteService = ClientDataModule.RemoteService
    RemoteService = ClientDataModule.RemoteService
    DataStreamer = ClientDataModule.DataStreamer
    Left = 318
    Top = 188
  end
  object tblBrowser: TDAMemDataTable
    RemoteUpdatesOptions = [ruoOnPost]
    Fields = <>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = rdaBrowser
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    IndexDefs = <>
    Left = 290
    Top = 188
  end
  object odlgAttachs: TRzOpenDialog
    Left = 210
    Top = 190
  end
end
